package com.keta.foundation.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.keta.foundation.entity.Organization;
import com.keta.foundation.entity.OrganizationRole;
import com.keta.foundation.entity.Role;
import com.keta.foundation.entity.User;
import com.keta.foundation.entity.UserRole;
import com.keta.foundation.util.dwz.Page;

public interface OrganizationRoleService {

	OrganizationRole get(Long id);

	void save(OrganizationRole organizationRole);

	void delete(OrganizationRole organizationRole);

	List<OrganizationRole> getOrganizationRole(Organization organization);

	void delByRole(Long roleId);

	void delByOrganization(Long organizationId);

	void delByRole(Role role);

	void delByOrganization(Organization organization);
}
